import request from '@/utils/request' 
// export const getOrders = function(name){
//     // 增加一个get参数
//     return request.get("/web/orders",{params:{name}})
// }
// 定义统计接口
export const getOrders = function(params,config){
    
    return  request.get("/web/orders",{...config,params})
 }
export const getOrdersStatistics = function(config){
    return  request.get("/web/orders:statistics",config)
 }